package com.yuou.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;

public class Role implements Serializable{
	private static final long serialVersionUID = 1L;
	//主键
	private int id;
	//角色名
    private String roleName;
    //角色标识
    private String roleSign;
    //角色备注
    private String remark;
    //创建者id
    private int userIdCreate;
    //状态
    private int status;
    //菜单集合(虚拟字段)
    @TableField(exist = false)
    private List<Integer> menuIds;
    public List<Integer> getMenuIds() {
		return menuIds;
	}
	public void setMenuIds(List<Integer> menuIds) {
		this.menuIds = menuIds;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getRoleSign() {
		return roleSign;
	}
	public void setRoleSign(String roleSign) {
		this.roleSign = roleSign;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public int getUserIdCreate() {
		return userIdCreate;
	}
	public void setUserIdCreate(int userIdCreate) {
		this.userIdCreate = userIdCreate;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	@DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss")
	private Date gmtCreate;
	@DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss")
	private Date gmtModified;
}
